package com.lv.phuotbacnam.bl.data;

import com.parse.ParseGeoPoint;
import com.parse.ParseObject;

import java.util.List;

/**
 * Created by VanQuan on 30/08/2014.
 */
public class UserObject {
    private String objectId;
    private String firstName;
    private String lastName;
    private String username;
    private List<ParseObject> attendees;
    private List<ParseObject> dislikedEvents;
    private String email;
    private String facebookId;
    private ParseGeoPoint location;
    private List<ParseObject> organisedEvents;
    private String photoURL;
    private List<ParseObject> contacts;
    private String deviceToken;

    public UserObject() {
        super();
    }

    public UserObject(String objectId, String firstName, String lastName, String username, List<ParseObject> attendees, List<ParseObject> dislikedEvents, String email, String facebookId, ParseGeoPoint location, List<ParseObject> organisedEvents, String photoURL, List<ParseObject> contacts, String deviceToken) {
        this.objectId = objectId;
        this.firstName = firstName;
        this.lastName = lastName;
        this.username = username;
        this.attendees = attendees;
        this.dislikedEvents = dislikedEvents;
        this.email = email;
        this.facebookId = facebookId;
        this.location = location;
        this.organisedEvents = organisedEvents;
        this.photoURL = photoURL;
        this.contacts = contacts;
        this.deviceToken = deviceToken;
    }

    /////////////////////////////
    // Get key

    public String getObjectIdKey() {
        return "objectId";
    }

    public String getFirstNameKey() {
        return "firstName";
    }

    public String getLastNameKey() {
        return "lastName";
    }

    public String getUsernameKey() {
        return "username";
    }

    public String getAttendeesKey() {
        return "attendees";
    }

    public String getDislikedEventsKey() {
        return "dislikedEvents";
    }

    public String getEmailKey() {
        return "email";
    }

    public String getFacebookIdKey() {
        return "facebookId";
    }

    public String getLocationKey() {
        return "location";
    }

    public String getOrganisedEventsKey() {
        return "organisedEvents";
    }

    public String getPhotoURLKey() {
        return "photoURL";
    }

    public String getContactsKey() {
        return "contacts";
    }

    public String getDeviceTokenKey() {
        return "deviceToken";
    }


    ///////////////Getter & Setter/////////


    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<ParseObject> getAttendees() {
        return attendees;
    }

    public void setAttendees(List<ParseObject> attendees) {
        this.attendees = attendees;
    }

    public List<ParseObject> getDislikedEvents() {
        return dislikedEvents;
    }

    public void setDislikedEvents(List<ParseObject> dislikedEvents) {
        this.dislikedEvents = dislikedEvents;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFacebookId() {
        return facebookId;
    }

    public void setFacebookId(String facebookId) {
        this.facebookId = facebookId;
    }

    public ParseGeoPoint getLocation() {
        return location;
    }

    public void setLocation(ParseGeoPoint location) {
        this.location = location;
    }

    public List<ParseObject> getOrganisedEvents() {
        return organisedEvents;
    }

    public void setOrganisedEvents(List<ParseObject> organisedEvents) {
        this.organisedEvents = organisedEvents;
    }

    public String getPhotoURL() {
        return photoURL;
    }

    public void setPhotoURL(String photoURL) {
        this.photoURL = photoURL;
    }

    public List<ParseObject> getContacts() {
        return contacts;
    }

    public void setContacts(List<ParseObject> contacts) {
        this.contacts = contacts;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }
}
